//
//  MyOrderViewCell.h
//  LiverClient
//
//  Created by dongshangtong on 16/5/9.
//  Copyright © 2016年 朱亚杰. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YCOrderModel.h"


typedef NS_ENUM(NSUInteger,BUTTON_TAG)
{
    BUTTON_GRAY_STATUS=1,
    BUTTON_YELLOW_STATUS
};

@class YCOrderModel;

@protocol myOrderViewCellToPayOrderDelegate  <NSObject>

@required

-(void)myOrderViewCellToPayOrder:(YCOrderModel *)order payType:(NSInteger )type;

@end

@interface MyOrderViewCell : UITableViewCell

@property (nonatomic ,strong)YCOrderModel *order;

+(instancetype)myOrderViewCellWithTableView:(UITableView *)tableView;

@property (nonatomic ,weak) id <myOrderViewCellToPayOrderDelegate> delegate;

@end
